package com.youlai.boot.modules.game.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 游戏用户记录查询参数
 *
 * @author 有来技术团队
 */
@Schema(description = "游戏用户记录查询参数")
@Data
public class GameUserRecordQuery {

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "游戏ID")
    private Long gameId;

    @Schema(description = "记录ID")
    private Long recordId;

    @Schema(description = "游戏名称(模糊查询)")
    private String gameName;

    @Schema(description = "游戏类型")
    private String gameType;

    @Schema(description = "是否收藏")
    private Boolean favorite;

    @Schema(description = "排序字段(playTime, lastPlayed, name)")
    private String sortField;

    @Schema(description = "排序方式(asc, desc)")
    private String sortOrder;
    
    @Schema(description = "标签(all-全部游戏, recent-最近游玩, favorites-收藏游戏)")
    private String tag;

    @Schema(description = "页码", defaultValue = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页记录数", defaultValue = "10")
    private Integer pageSize = 10;
} 